package org.example.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author TonySong
 * @date 2024/5/15 0015
 * @time 14:14
 */
@FeignClient(value = "user-8082",path = "/order")
public interface OrderFeign {
    @GetMapping("/pay/{uid}/{bid}")
    public Boolean pay(@PathVariable("uid") Long uid, @PathVariable("bid") Long bid);

}
